#echo start
#WAVCAM_02009B_A_20150122_093243.avi



hh=11
mm=0
ss=0

while [ $hh = 11 ]
do
    printf "echo \"none \" > /mnt/sd/wavcam/auto/WAVCAM_02009B_A_20150122_%02d%02d%02d.avi\n" $hh $mm $ss
    let "ss+=1"
#sleep 0.1 
    
    if [ $ss = 60 ]
    then
        let "mm+=1"
        ss=0
    fi

    if [ $mm = 60 ]
    then
        let "hh+=1"
        mm=0
    fi


done
#
#   if [ $ss = 60 ]
#   then
#       let "mm+=1"
#   fi


